!function(window) {
	
	var document = window.document,
		$ = window.__jipin_$;
	
	window.__jipin_getSitePicDesc = function(targetPic) {
		var picDesc = {'title' : $(targetPic).attr('title') || '', 'price' : ''};
		
		try {
	    	if($('.goods_title').length) {
	    		picDesc.title = $.trim($('.goods_title').text());
	    		
        		var price = $('.goods_title').parent().next('div').children('.left').text() || '';
        		if(price.split(':').length === 2) {
        			picDesc.price = '￥' + parseFloat(price.split(':')[1]);
        		}
        	} else if($('.quote_goods_title').length) {
        		picDesc.title = $.trim($('.quote_goods_title').text());
        	}
	    } catch(e) {}
    	return picDesc;
	}
	
	window.__jipin_sitedata = window.__jipin_getSitePicDesc();

}(window);